package com.gxa.mapper;

import com.gxa.pojo.Merchandise;

import java.util.List;
import java.util.Map;

public interface MerchandiseMapper {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(Merchandise record);
    int addStorage(Merchandise record);

    Merchandise selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Merchandise record);

    List<Merchandise> fuzzyQuery(String like);

    List<Merchandise> queryAll();

    int updateStatus(Integer putaway,Integer id);

    Integer deleteBatch(List<Integer> arr);

    List<Merchandise> isPutaway();

    List<Merchandise> notPutaway();

    List<Merchandise> conjunctiveQuery(Map<String,Object> map);

    List<String> typeList();

    List<String> brandList();
}